<?php
namespace app\common\model;
use think\Model;
class CardUserGet extends model
{   
    //自动完成
    protected $auto = [];      //  写入
    protected $insert = [       //新增
     //   'addtime' => time();
    ];
    protected $update = [];     //保存
    public function userinfo()
    {
        return $this->hasOne('CardFans', 'openid',"openid")->field('openid,head_url,statu');
    }


    
}
